package fr.thelem.gestiondemandesthelem.dao.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * Entity implementation class for Entity: CPParametreEtapeEntity
 * 
 */
@Entity
@Table(name = "CP_PARAMETRE_ETAPE")
public class CPParametreEtapeEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "IDENTIFIANT_CP_PARAMETRE_ETAPE", nullable = false)
    @GeneratedValue
    private int identifiantCPParametreEtape;

    @Column(name = "VALEUR_CP_PARAMETRE_ETAPE")
    private String valeurCPParametreEtape;

    @ManyToOne
    @JoinColumn(name = "IDENTIFIANT_CD_PARAMETRE_ETAPE")
    private CDParametreEtapeEntity CDParametreEtape;

    @ManyToOne
    @JoinColumn(name = "IDENTIFIANT_CP_ETAPE")
    private CPEtapeEntity CPEtapeCDParametreEtape;

    @ManyToOne
    @JoinColumn(name = "IDENTIFIANT_CP_DEMANDE")
    private CPDemandeEntity CPdemandeCPParametreEtape;

    /**
     * Accesseur de identifiantCPParametreEtape
     * 
     * @return le identifiantCPParametreEtape
     */
    public int getIdentifiantCPParametreEtape() {
        return identifiantCPParametreEtape;
    }

    /**
     * Accesseur de valeurCPParametreEtape
     * 
     * @return le valeurCPParametreEtape
     */
    public String getValeurCPParametreEtape() {
        return valeurCPParametreEtape;
    }

    /**
     * Accesseur de cDParametreEtape
     * 
     * @return le cDParametreEtape
     */
    public CDParametreEtapeEntity getCDParametreEtape() {
        return CDParametreEtape;
    }

    /**
     * Accesseur de cPdemandeCPParametreEtape
     * 
     * @return le cPdemandeCPParametreEtape
     */
    public CPDemandeEntity getCPdemandeCPParametreEtape() {
        return CPdemandeCPParametreEtape;
    }

    /**
     * Affectation de identifiantCPParametreEtape
     * 
     * @param identifiantCPParametreEtape identifiantCPParametreEtape à affecter
     */
    public void setIdentifiantCPParametreEtape(int identifiantCPParametreEtape) {
        this.identifiantCPParametreEtape = identifiantCPParametreEtape;
    }

    /**
     * Affectation de valeurCPParametreEtape
     * 
     * @param valeurCPParametreEtape valeurCPParametreEtape à affecter
     */
    public void setValeurCPParametreEtape(String valeurCPParametreEtape) {
        this.valeurCPParametreEtape = valeurCPParametreEtape;
    }

    /**
     * Affectation de cDParametreEtape
     * 
     * @param cDParametreEtape cDParametreEtape à affecter
     */
    public void setCDParametreEtape(CDParametreEtapeEntity cDParametreEtape) {
        CDParametreEtape = cDParametreEtape;
    }

    /**
     * Affectation de cPdemandeCPParametreEtape
     * 
     * @param cPdemandeCPParametreEtape cPdemandeCPParametreEtape à affecter
     */
    public void setCPdemandeCPParametreEtape(CPDemandeEntity cPdemandeCPParametreEtape) {
        CPdemandeCPParametreEtape = cPdemandeCPParametreEtape;
    }

    /**
     * Accesseur de cPEtapeCDParametreEtape
     * 
     * @return le cPEtapeCDParametreEtape
     */
    public CPEtapeEntity getCPEtapeCDParametreEtape() {
        return CPEtapeCDParametreEtape;
    }

    /**
     * Affectation de cPEtapeCDParametreEtape
     * 
     * @param cPEtapeCDParametreEtape cPEtapeCDParametreEtape à affecter
     */
    public void setCPEtapeCDParametreEtape(CPEtapeEntity cPEtapeCDParametreEtape) {
        CPEtapeCDParametreEtape = cPEtapeCDParametreEtape;
    }

}
